package it.blueocean.acanto.taglibrary.jsp.taglib.tags.dataset.filter;

import java.util.ArrayList;
import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class SimpleDatasetFilter implements DatasetFilter
{
	private final static Logger logger_ = LoggerFactory.getLogger(SimpleDatasetFilter.class);

	private String filter_;

	public SimpleDatasetFilter(String paramString)
	{
		this.filter_ = paramString;
	}

	public String getFilterString()
	{
		return ((this.filter_ != null) ? this.filter_ : "");
	}

	public List getFilterParams()
	{
		return new ArrayList();
	}

	public String getFilter()
	{
		return this.filter_;
	}

	public void setFilter(String paramString)
	{
		this.filter_ = paramString;
	}

	public String toString()
	{
		return getFilterString();
	}

	public boolean applyFilter(Object paramObject)
	{
		logger_.error("Method not implemented");
		return false;
	}
}
